<?php
/**
* @package     cuber
*/

jClasses::inc('cube~Cube');

class defaultCtrl extends jController 
{
    /**
    * Default action
    */
    function index() 
    {
        $rep = $this->getResponse('html');

        $rep->bodyTpl = 'cuber~default';

        $cube     = new Cube();
        $tabparam = array(
            'cube'  => $cube,
            'moves' => "R U R' .... R U' R' .... F'"
        );

        $rep->body->assignZone('cubejava', 'cuber~animecube', $tabparam);

        return $rep;
    }
}
?>
